#ifndef _MainMenuTree_H_
#define _MainMenuTree_H_

#include "menu.h"

#include "wiisprite.h"

#include "common.h"

#include "pointer.h"

using namespace wsp;
using namespace Common;

class MainMenuTree
{
	public:
		MainMenuTree();
		~MainMenuTree();
		
		bool Update(Pointer* ptr);
		
		void ChangeActiveMenu(MyMenu::Type menu, bool transition = false);
		
		MyMenu::Type GetCurrentActiveMenu();
		
		int GetSelectedItem();
		
		void Render();
		
	private:
		MyMenu::Type _activeMenu;
		MyMenu::Type _lastMenu;
		
		std::vector<Menu*> _menuList;
};

#endif //_MenuTree_H_
